/**
 * HW10
 *
 * brief description of the program
 *
 * This program is released to public domain according to
 * author's wish, you can view full license at
 * http://tomatoeskit.org/upload/PublicDomainLicense.txt
 *
 * @author Fangning CHENG (Alpha.L Cheng) <chengf@purdue.edu>
 *
 * @lab section number 
 *
 * @date Sep 9, 2013
 *
 */

public class Collate {

    public static String collate(String a, String b)
    {
        StringBuffer retStr = new StringBuffer();
        for(int i = 0; i < a.length(); ++i) {
            retStr.append(a.charAt(i));
            retStr.append(b.charAt(i));
        }
        return retStr.toString();
    }
}
